﻿using System;
using System.Collections.Generic;
using System.Text;

namespace hoemwork
{
    public class Button
    {
        public string Text { get; set; }
        public EventHandler OnClick { get; set; }
        public void Click(Action action)
        {
            OnClick(this,null);
        }
    }
}
